package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;


/**
 * 订单下单来源
 *
 * @author kfc
 * @since  1.0
 */

@NoArgsConstructor
public enum OrderFromEnum implements IBaseEnum<Integer> {
    CUSTOMER(1,"客服下单"),
    AGENT(2,"代理商下单"),
    MEMBER(3,"会员下单")
    ;
    private int value;
    private String desp;

    OrderFromEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }
    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
